/**
 * 本地mock
 */
import MockAdapter from 'axios-mock-adapter';

export default (instance) => {
  const mock = new MockAdapter(instance);

  mock.onGet('/corp/getcurrentUserInfo').reply(200, {
    code: 200, 
    data: {
      name: '闫路',
      workNo: 'H21863',
      corpEmail: 'yanlu02@corp.netease.com',
    },
  });

  mock.onAny().passThrough();
};
